﻿using System.Collections.Generic;

namespace PeterKuhn.SilverlightDebugHelper
{
    /// <summary>
    /// Describes a set of configuration values for a certain browser.
    /// </summary>
    public class BrowserConfiguration
    {
        /// <summary>
        /// Gets or sets the configuration id.
        /// </summary>
        public int ConfigurationId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the display name.
        /// </summary>
        public string DisplayName
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets a collection of process names to search for.
        /// </summary>
        public IEnumerable<string> ProcessNames
        {
            get;
            set;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="BrowserConfiguration"/> class.
        /// </summary>
        /// <param name="configurationId">The configuration id.</param>
        /// <param name="displayName">The display name.</param>
        /// <param name="processNames">The collection of process names to search for.</param>
        public BrowserConfiguration(int configurationId, string displayName, params string[] processNames)
        {
            ConfigurationId = configurationId;
            DisplayName = displayName;
            ProcessNames = processNames;
        }
    }
}
